package pl.org.lutra.planner;

import javax.swing.SwingUtilities;

import pl.org.lutra.planner.gui.main.PlannerFrame;
import pl.org.lutra.planner.log.Log;

public class LutraPlanner {
    
    public static void main(String... args) {
        try {
            final PlannerFrame pFrame = new PlannerFrame();
            
            SwingUtilities.invokeLater(new Runnable() {
                @Override
                public void run() {
                    pFrame.setVisible(true);
                }
            });
        } catch (Throwable exception) {
            Log.error(exception);
            System.exit(-1);
        }
    }
}
